package com.handinglian.ai.notice.mapper;

import com.handinglian.ai.notice.dto.KeyGroupDto;import com.handinglian.ai.notice.entity.KeyGroup;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface KeyGroupMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(KeyGroup record);

    int insertOrUpdate(KeyGroup record);

    int insertOrUpdateSelective(KeyGroup record);

    int insertSelective(KeyGroup record);

    KeyGroup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(KeyGroup record);

    int updateByPrimaryKey(KeyGroup record);

    int updateBatch(List<KeyGroup> list);

    int batchInsert(@Param("list") List<KeyGroup> list);

    List<KeyGroupDto> find();

    KeyGroupDto findById(@Param("id")Integer id);
}